package 开闭原则;

/**
 * @author zwzh_zj
 */
public class JavaCourse implements ICourse {

    private Integer id;
    private String name;
    private Double price;

    @Override
    public Integer getId() {
        return 1;
    }

    @Override
    public String getName() {
        return "java";
    }

    @Override
    public Double getPrice() {
        return 100d;
    }
}
